import http from '@/utils/request'

export const list = {
  getMerchantList: {
    url: 'inquiry/merchant',
    method: 'get'
  },
  getInquiryList: {
    url: 'inquiry/inquiry',
    method: 'get'
  }
}

/**
 * 获取入驻企业列表
 * @param params
 * @returns {*}
 */
export const getMerchantList = params => {
  return http.request({
    ...list.getMerchantList,
    params
  })
}

export const getInquiryList = params => {
  return http.request({
    ...list.getInquiryList,
    params
  })
}
